package com.appwoo.txtws.component;

import java.io.PrintStream;
import java.util.Arrays;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;

public class ArrayTest
{
  public static String[] array_unique(String[] paramArrayOfString)
  {
    LinkedList localLinkedList = new LinkedList();
    for (int i = 0; ; i++)
    {
      if (i >= paramArrayOfString.length)
        return (String[])localLinkedList.toArray(new String[localLinkedList.size()]);
      if (!localLinkedList.contains(paramArrayOfString[i]))
        localLinkedList.add(paramArrayOfString[i]);
    }
  }

  public static void main(String[] paramArrayOfString)
  {
    int i = 0;
    String[] arrayOfString1 = { "dd", "cc", "ee", "ff", "gg", "cc", "ee" };
    String[] arrayOfString2 = array_unique(arrayOfString1);
    int j = arrayOfString2.length;
    Iterator localIterator;
    if (i >= j)
      localIterator = printMap1(arrayOfString1).iterator();
    while (true)
    {
      if (!localIterator.hasNext())
      {
        return;
        String str = arrayOfString2[i];
        System.out.println(str);
        i++;
        break;
      }
      Object localObject = localIterator.next();
      System.out.println(localObject);
    }
  }

  public static List printMap1(String[] paramArrayOfString)
  {
    LinkedList localLinkedList = new LinkedList();
    localLinkedList.addAll(Arrays.asList(paramArrayOfString));
    return localLinkedList;
  }
}

/* Location:           C:\Documents and Settings\Administrator\classes_dex2jar.jar
 * Qualified Name:     com.appwoo.txtws.component.ArrayTest
 * JD-Core Version:    0.6.2
 */